public class Teacher extends User {

    private int couresnum = 0;

    public Teacher(String id, String name, String gender, String birthDate, String phone, int couresnum) {
        super(id, name, gender, birthDate, phone);
        this.couresnum = couresnum;
    }
    public int getCouresnum() {
        return couresnum;
    }

    public void setCouresnum(int couresnum) {
        this.couresnum = couresnum;
    }

}
